<?php
namespace Hive\Mission\Partner;
/**
 * Mission Partner Role,
 * 
 * It represent the role of a contact/partner in a mission
 *
 * @author Xavier VILAIN
 * @package Hive\Mission\Partner
 *
 * @property string	$role			Role ISO code
 * @property string	$language		Language
 * @property string	$code			Role Code in role language
 * @property string	$label			Role Label
 * @property string	$description	Description of the role
 * 
 */
class Role  extends \Fox\Object {

	
	/**
	 * Reverse Link to Mission Type from workflow
	 * @var string
	 */
	const LINK_MISSION_PARTNERS = 'partners';
			
}
\Fox\Dao::infos(
	Role::className(),
	new \Fox\Object\Info('mission_partner_roles', \Fox\Databases::DB_APP)
);

\Fox\Dao::useZone(Role::className(),new \Fox\Dao\DiskTimeCacheZone(\Fox\Dao\DiskTimeCacheZone::PERIOD_FOREVER,Role::cacheDirectory()));